Syllabus, Last Week, Book and This Week
R and RStudio
Fields of Usage
Preview of R Course
Getting Started
QUIZ
Next Week
Extended Syllabus PDF
Week 3 - Presentation LINK
The Book of R - The Language - Getting Started
(Part 1, Section 1, Pg. 3-14)
The Book of R - PDF
R Language - Getting Started
R is a language. It is a free software environment for statistical computing and graphics.
It is a GNU project.
Linux/UNIX, MacOS and Windows
R version 4.0.3 has been released on 2020-10-10
Powerful but cheap graphics - Open Sources
almost 20 years, and more than 10,000 R packages
R Homepage - LINK
The Comprehensive R Archive Network (CRAN) - LINK
please choose a location close to you
Turkey - Middle East Technical University Northern Cyprus Campus, Mersin - LINK
An Integrated Development Environment (IDE) for R.
RStudio Desktop and RStudio Server
R studio anywhere using a web browser https://rstudio.cloud/
Download LINK
The process of making sense out of a collection of data.
Data visualization is the graphical representation of information and data.
storms
The process of changing data to make it easier to read or be more organized.
R dplyr scheme
Linear functions are those whose graph is a straight line.
y = f(x) = a + bx
Regression is a statistical method used to create a model.
Describe the distribution of data and to determine the reliability of a sample drawn from a population.
Statistical significance tests is used to inform judgments regarding whether the hypothesis is false or not false
Time series is a series of data points in which each data point is associated with a timestamp.
Classification and Clustering are characterize objects into groups by one or more features.
Classification is used in a supervised learning technique which include predefined properties. Clustering is used in unsupervised learning based on group properties.
The measure of the strength and direction of the linear relationship between two variables.
A Scientific Calculator
Classes and Data Structures
Create and Manipulation Data
Reading, Writing and Plotting Data
R Programming Structure
Statistics and Probability
Data Analysis Packages
Using the RStudio
R for Basic Math
Assigning Objects
Comments
R You Ready ?!
RStudio - Preferences - Appearance - Editor Theme
Functions, Parentheses, Quotation Marks - Material
File - New Project Don’t Save Current Workspace - New Directory
New Project
Directory Name - Create Project
File - New File - Script
File - New File - Script
Edit
Tools - Terminal - New Terminal
View - Zoom and Show …
Save, Run
Save, Import Dataset, Clean
Save, Remove, Clean
Working Directory, Commands, Clean
New Folder, Delete, Rename, Copy
Before, Zoom, Export, Remove, Clean
Install, Update
Topic / Word Search
addition (+), subtraction (-), multiplication (*), division (/)
25 * 4 + 9 / 3 - 56
The assignment arrow (<-)
How to tell R to ignore a part of your code? (#)
Why we use Comments (or Comment Out Lines) ?
# This code will calculate the probability that it will rain tomorrow
rain_calculation()
# value <- old_code()
value <- new_code()
R is a language
RStudio is an interface
Script is a passive text
Console is an interactive decoding area
Math is pre-defined
Assigment arrow <-
Comments (hashtag) #
R - Getting Started
kahoo.it
PART 1 - The Language - Section 2,3 and 4
Pages : 23 - 36
udemy - Introduction to R, Section 1, 2 and 3 (Part 14 to 21)
LINK - udemy
datacamp - 2)Vectors and 3)Matrices
LINK - datacamp
R - Basic and Vectors
kahoo.it
Comments